package com.cn.mmd.mapper;

import com.cn.mmd.model.ShrioRole;
import com.cn.mmd.model.ShrioRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShrioRoleMapper {
    int countByExample(ShrioRoleExample example);

    int deleteByExample(ShrioRoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(ShrioRole record);

    int insertSelective(ShrioRole record);

    List<ShrioRole> selectByExample(ShrioRoleExample example);

    ShrioRole selectByPrimaryKey(Integer roleId);

    int updateByExampleSelective(@Param("record") ShrioRole record, @Param("example") ShrioRoleExample example);

    int updateByExample(@Param("record") ShrioRole record, @Param("example") ShrioRoleExample example);

    int updateByPrimaryKeySelective(ShrioRole record);

    int updateByPrimaryKey(ShrioRole record);

    List<ShrioRole> selectByPaging(ShrioRole shrioRole);

    int selectCount();
}